package com.itheima.mall.api.sms;

import com.itheima.mall.pojo.sms.HomeRecommendProduct;
import com.itheima.mall.pojo.sms.HomeRecommendSubject;
import com.itheima.mall.vo.PageResult;

import java.util.List;

public interface HomeRecommendSubjectServiceApi {
    void recommendSubjectCreate(HomeRecommendSubject homeRecommendSubject);

    Boolean RecommendSubjectDelete(Long[] ids);

    PageResult<HomeRecommendSubject> recommendSubjectList(Integer pageNum, Integer pageSize, String productName, Integer recommendStatus);

    List<HomeRecommendSubject> findRecommendSubjectByIds(Long[] ids);

    void update(HomeRecommendSubject homeRecommendSubject);

    HomeRecommendSubject findRecommendSubjectById(Long id);
}
